UCF STIG Viewer Logo

The vCenter Perfcharts service must set an inactive timeout for sessions.


Overview

Finding ID Version Rule ID IA Controls Severity
V-259083 VCPF-80-000070 SV-259083r934907_rule Medium
Description
Leaving sessions open indefinitely is a major security risk. An attacker can easily use an already authenticated session to access the hosted application as the previously authenticated user. By closing sessions after a set period of inactivity, the web server can make certain that those sessions that are not closed through the user logging out of an application are eventually closed. Satisfies: SRG-APP-000295-AS-000263, SRG-APP-000389-AS-000253
STIG Date
VMware vSphere 8.0 vCenter Appliance Perfcharts Security Technical Implementation Guide 2023-10-29

Details

Check Text ( C-62823r934905_chk )
At the command prompt, run the following command:

# xmllint --format /usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/session-config/session-timeout' -

Example result:

6

If the value of "session-timeout" is not "30" or less, or is missing, this is a finding.
Fix Text (F-62732r934906_fix)
Navigate to and open:

/usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml

Navigate to the node and configure the as follows:


6

true
true



Restart the service with the following command:

# vmon-cli --restart perfcharts